//
//  baseButton.m
//  ExamSecretary
//
//  Created by XiaoguangHu on 16/1/7.
//  Copyright © 2016年 mingthink. All rights reserved.
//

#import "RoundButton.h"
@implementation RoundButton
-(id)initWithFrame:(CGRect)frame
{
    self=[super initWithFrame:frame];
    if (self) {
        self.layer.cornerRadius=5.0;
         self.layer.masksToBounds=YES;
        //self.layer.borderColor=BtnLineColor.CGColor;
        self.titleLabel.font=[UIFont systemFontOfSize:15];
        [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        self.backgroundColor=GET_HEX_COLOR(NAVBAR_BG_COLOR);
    }
    return self;
}
@end
